package com.pktechan.api.service;

import com.pktechan.api.base.BaseService;
import com.pktechan.api.entity.CloudTicketFlow;
import com.pktechan.api.entity.CustBase;
import com.pktechan.api.vo.CloudTicketFlowVO;

import java.util.List;

public interface CloudTicketFlowService extends BaseService<CloudTicketFlow> {
    /**
     * 根据订单ID查询应得云积分ID
     *
     * @param tradeOrderId
     * @return
     */
    List<CloudTicketFlow> getGenerateListByTradeOrderId(Integer tradeOrderId);
    /**
     * 查看收入明细列表
     * @param custId
     * @return
     */
    List<CloudTicketFlowVO> getIncomeDetailsListByCustId(Integer custId);

    /**
     * 查看兑付明细
     * @param custId
     * @return
     */
    List<CloudTicketFlowVO>  getCashingDetailsByCustId(Integer custId);

    /**
     * 转让兑付
     * @param cloudTicketFlow
     */
    void transferableCashing(CloudTicketFlow cloudTicketFlow, CustBase custBase);
}
